package com.ruowei.modules.foodOrder.repository;

import com.ruowei.common.repository.BaseRepository;
import com.ruowei.modules.foodOrder.domain.QSkuOptionsRelationship;
import com.ruowei.modules.foodOrder.domain.SkuOptionsRelationship;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

/**
 * Spring Data  repository for the SkuOptionsRelationship entity.
 */
@Repository
public interface SkuOptionsRelationshipRepository extends BaseRepository<Long, SkuOptionsRelationship, QSkuOptionsRelationship> {

    void deleteAllBySkuCodeIn(List<String> skuCodes);

    List<SkuOptionsRelationship> findAllBySkuCode(String skuCode);
}
